myCat = {'size':'fat','color':'gray','disposition':'loud'}

print(myCat['size'])

for v in myCat.values():
    print(v)
    
for k in myCat.keys():
    print(k)
    
for i in myCat.items():
    print(i)
    
myCat['size']='thin'

print(myCat)

myCat.setdefault('color','black')

print(myCat)

myCat['xx']='wgr'
print(myCat)

xx2={'xx2':'wgr2'}
myCat.update(xx2)
print(myCat)

del myCat['xx2']
print(myCat)

xx = myCat.pop('xx')
print(myCat)